package com.sugar.follow.up.module.business.controller.admin.followuptemplatequestion.vo;

import com.sugar.follow.up.module.business.dal.dataobject.questionnairetemplatequestion.dto.OptionDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 随访模板题目 Response VO")
@Data
@ExcelIgnoreUnannotated
public class FollowUpTemplateQuestionRespVO {

    @Schema(description = "题目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6536")
    @ExcelProperty("题目ID")
    private Long id;

    @Schema(description = "随访模板ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15268")
    @ExcelProperty("随访模板ID")
    private Long templateId;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("标题")
    private String title;

    @Schema(description = "提示语", requiredMode = Schema.RequiredMode.REQUIRED)
    private String tip;

    @Schema(description = "题型（0单选 1多选 2填空 3问答 4日期）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("题型")
    private Integer type;

    @Schema(description = "题目选项")
    @ExcelProperty("题目选项")
    private List<OptionDTO> options;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
